﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Xiaov.SmartWeb.Application.TZXMGC
{
  public partial class TZLB : System.Web.UI.Page
  {
    protected void Page_Load(object sender, EventArgs e)
    {
      if (!Page.IsPostBack)
      {
        hfID.Value = GetMaxId("NEWYT_TZLBB").ToString();
      }
    }
    public int GetMaxId(string tablename)
    {
      int id = 0;
      id = Convert.ToInt32(Maticsoft.DBUtility.DbHelperOra.GetMaxID("tzlbbm", tablename));
      return id;
    }
  }
}